package com.itheima.pojo;

import java.io.Serializable;

/**
 * @author ${小帅帅}
 * @date 2019-11-04
 * 运动知识库
 */
public class Movement implements Serializable {
    private Integer id;//主键
    private String YDCode;//运动编码
    private String name;//运动名称
    private String time;//运动频率/min
    private String frequency;//每周运动次数
    private Integer type;//运动种类
    private Integer intensity;//运动强度
    private String minAge;//最小年龄
    private String maxAge;//最大年龄
    private String kll;//卡路里消耗

    public Movement() {
    }

    public Movement(Integer id, String YDCode, String name, String time, String frequency, Integer type, Integer intensity, String minAge, String maxAge, String kll) {
        this.id = id;
        this.YDCode = YDCode;
        this.name = name;
        this.time = time;
        this.frequency = frequency;
        this.type = type;
        this.intensity = intensity;
        this.minAge = minAge;
        this.maxAge = maxAge;
        this.kll = kll;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getYDCode() {
        return YDCode;
    }

    public void setYDCode(String YDCode) {
        this.YDCode = YDCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIntensity() {
        return intensity;
    }

    public void setIntensity(Integer intensity) {
        this.intensity = intensity;
    }

    public String getMinAge() {
        return minAge;
    }

    public void setMinAge(String minAge) {
        this.minAge = minAge;
    }

    public String getMaxAge() {
        return maxAge;
    }

    public void setMaxAge(String maxAge) {
        this.maxAge = maxAge;
    }

    public String getKll() {
        return kll;
    }

    public void setKll(String kll) {
        this.kll = kll;
    }

    @Override
    public String toString() {
        return "Movement{" +
                "id=" + id +
                ", YDCode='" + YDCode + '\'' +
                ", name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", frequency='" + frequency + '\'' +
                ", type=" + type +
                ", intensity=" + intensity +
                ", minAge='" + minAge + '\'' +
                ", maxAge='" + maxAge + '\'' +
                ", kll='" + kll + '\'' +
                '}';
    }
}
